package com.biostime.qdingding.modules.job.dao;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.biostime.qdingding.common.mybatis.MyBatisDao;
import com.biostime.qdingding.common.persistence.BaseDao;
import com.biostime.qdingding.modules.qd.entity.Promotion;

/**
 * 自动结算Dao
 * @author phil
 * @version 2015-11-25
 */
@MyBatisDao
public interface AutoClearDao extends BaseDao {

	List<HashMap<String, Object>> getOrderdCourse(@Param("courseCount") int courseCount,@Param("courseDate") Date courseDate);

	List<HashMap<String, Object>> getRankStudents(@Param("type") int type,@Param("courseId") int courseId);

	List<Promotion> getPromotions(int studentId);

	List<Map<String, Object>> getCoupon(@Param("memberCounponId") int memberCounponId);
	
}